<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<#include "head.ftl" />
</head>
<body>
	<div class="body-box">
		<div class="rhead">
			<div class="rpos">当前位置: 管理员 - <#if admin??>编辑<#else>添加</#if></div>
			<form class="ropt">
				<input type="button" value="返回"
					onclick="location.href='${st.domain}/admin/list'" />
			</form>
			<div class="clear"></div>
		</div>
		<form method="post" action="${st.domain}/admin/addOrEditDo" id="jvForm">
			<table width="100%" class="pn-ftable" cellpadding="2" cellspacing="1"
				border="0">
				<tr>
					<td width="10%" class="pn-flabel pn-flabel-h"><span
						class="pn-frequired">*</span>账号:</td>
					<td class="pn-fcontent">
						<#if admin??>
						${admin.name}
						<#else>
						<input type="text" value="" name="name" size="25" maxlength="150" />
						</#if>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel pn-flabel-h"><span
						class="pn-frequired">*</span>密码:</td>
					<td class="pn-fcontent"><input
						type="password" value="" name="password" autocomplete="off" size="25" maxlength="150" />
						<#if admin??>留空表示密码不变</#if>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel pn-flabel-h"><span
						class="pn-frequired">*</span>姓名:</td>
					<td class="pn-fcontent"><input
						type="text" value="${admin.realName}" name="realName" size="25" maxlength="150" />
					</td>
				</tr>
				<tr>
					<td colspan="2" class="pn-fbutton">
						<input type="hidden" name="adminId" value="${admin.adminId}" />
						<input type="submit" value="提交" /> &nbsp; 
						<input type="reset" value="重置" />
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>